/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.store.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 生成store地址后台Entity
 * @author whh
 * @version 2017-09-06
 */
public class StoreArea extends DataEntity<StoreArea> {
	
	private static final long serialVersionUID = 1L;
	private String storeId;		// store_id
	private String dimension;		// dimension
	private String longitude;		// longitude
	
	public StoreArea() {
		super();
	}

	public StoreArea(String id){
		super(id);
	}

	@Length(min=1, max=255, message="store_id长度必须介于 1 和 255 之间")
	public String getStoreId() {
		return storeId;
	}

	public void setStoreId(String storeId) {
		this.storeId = storeId;
	}
	
	@Length(min=1, max=64, message="dimension长度必须介于 1 和 64 之间")
	public String getDimension() {
		return dimension;
	}

	public void setDimension(String dimension) {
		this.dimension = dimension;
	}
	
	@Length(min=1, max=64, message="longitude长度必须介于 1 和 64 之间")
	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}
	
}